############################################################## 
## MOD neve: Alrs megjelentse a profilban.
## MOD rja: netclectic < adrian@netclectic.com > (Adrian Cockbutn) http://www.netclectic.com 
## MOD-ot fordtotta: ThuG4LifE[PSC] <makavelithedon@freemail.hu> <www.jokkka.tk> <http://tupacforum.srv.hu>
## MOD lersa: Felhasznlk alrsnak megjelentse a profiljukban.
## MOD verzi: 1.1.1
## 
## Teleptsi fokozat: knny
## Teleptsi id: ~ 3 perc 
## File-ok, amiket mdostani kell: (2) usercp_viewprofile.php, profile_view_body.tpl
############################################################## 
## Fordt megjegyzse: phpBB 2.0.13-as frumon tesztelve. Ha a frumodon engedlyezed a hosszabb alrst, akkor inkbb ne hasznld ezt a MOD-ot, eszttikailag nem elnys. :)
##
############################################################## 
## MOD trtnet:
##     2003-11-07  - Version 1.1.1
##          - 2.0.6-os frumhoz frisstve (nincs vltoztats)
##
##     xxxx-xx-xx  - Version 1.1.0
##          - 2.0.4-es frumhoz frisstve s egy hiba javtva.
##
##     xxxx-xx-xx  - Version 1.0.0
##          - Els megjelens.
##
############################################################## 
## Mieltt hozzadnd a frumhoz ezt a MOD-ot csinlj egy biztonsgi kimentst a frumrl! 
############################################################## 

# 
#-----[ NYISD MEG ]------------------------------------------ 
# 
includes/usercp_viewprofile.php

# 
#-----[ KERESD MEG ]------------------------------------------ 
# 
$search = '<a href="' . $temp_url . '">' . $lang['Search_user_posts'] . '</a>';

# 
#-----[ MSOLD A SOR UTN ]------------------------------------
# 
$user_sig = '';
if ( $profiledata['user_attachsig'] && $board_config['allow_sig'] )
{
    include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
    $user_sig = $profiledata['user_sig'];
    $user_sig_bbcode_uid = $profiledata['user_sig_bbcode_uid'];
	if ( $user_sig != '' )
    {
        if ( !$board_config['allow_html'] && $profiledata['user_allowhtml'] )
       	{
       		$user_sig = preg_replace('#(<)([\/]?.*?)(>)#is', "&lt;\\2&gt;", $user_sig);
       	}
    	if ( $board_config['allow_bbcode'] && $user_sig_bbcode_uid != '' )
   		{
   			$user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig);
   		}
   		$user_sig = make_clickable($user_sig);

        if (!$userdata['user_allowswearywords'])
        {
            $orig_word = array();
            $replacement_word = array();
            obtain_word_list($orig_word, $replacement_word);
            $user_sig = preg_replace($orig_word, $replacement_word, $user_sig);
        }
        if ( $profiledata['user_allowsmile'] )
        {
            $user_sig = smilies_pass($user_sig);
        }
        $user_sig = str_replace("\n", "\n<br />\n", $user_sig);
    }
    $template->assign_block_vars('switch_user_sig_block', array());
}

# 
#-----[ KERESD MEG ]------------------------------------------ 
# 
'INTERESTS' => ( $profiledata['user_interests'] ) ? $profiledata['user_interests'] : '&nbsp;',

# 
#-----[ MSOLD A SOR UTN ]------------------------------------
# 
	'L_SIGNATURE' => $lang['Signature'],
    'USER_SIG' => $user_sig,

    
# 
#-----[ NYISD MEG ]------------------------------------------ 
# 
templates/subSilver/profile_view_body.tpl

# 
#-----[ KERESD MEG ]------------------------------------------ 
# 
		<tr> 
		  <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
		  <td> <b><span class="gen">{INTERESTS}</span></b></td>
		</tr>

# 
#-----[ MSOLD A SOR UTN ]------------------------------------
# 
        <!-- BEGIN switch_user_sig_block -->
		<tr> 
		  <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_SIGNATURE}:&nbsp;</span></td>
		  <td> <span class="postbody">{USER_SIG}</span></td>
		</tr>
        <!-- END switch_user_sig_block -->
        
# 
#-----[ MENTS EL, MAJD ZRJ BE MINDEN FILE-T ]-------------------------- 
# 
# EoM
# Fordtotta: ThuG4LifE[PSC]
